home *** CD-ROM | disk | FTP | other *** search
- on mouseEnter
- global gCDtrackplaying, gCD
- if gCDtrackplaying > 1 then
- set the cursor of sprite the currentSpriteNum to [the number of member "finger", the number of member "fingermask"]
- else
- set the cursor of sprite the currentSpriteNum to 0
- end if
- end
-
- on mouseDown
- global gCDtrackplaying, gCD, gHowManyTracksOnAlbum
- if gCDtrackplaying > 1 then
- set the member of sprite (gCDtrackplaying + 5) to "audiosong" & string(gCDtrackplaying) & "w"
- set gCDtrackplaying to gCDtrackplaying - 1
- set the member of sprite (gCDtrackplaying + 5) to "audiosong" & string(gCDtrackplaying) & "r"
- play(gCD, gCDtrackplaying, gHowManyTracksOnAlbum)
- set the member of sprite 1 to "audiobg" & string(gCDtrackplaying)
- startTimer()
- repeat while the timer < 15
- end repeat
- end if
- set the cursor of sprite the currentSpriteNum to 0
- end
-
- on mouseLeave
- set the cursor of sprite the currentSpriteNum to 0
- end
-